import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);
const doMa = "https://korwal.oginix.cn";
//const doMa = "https://asar.boytakla.com";
const store = new Vuex.Store({
    state:{
        ///api/v2/Dang/setting
        ///api.php/Dang/setting
        ddhh:`${doMa}/api.php/Dang/setting`,
        random : 0,
        data:{}
    },
    mutations:{
        setRandom(state,number){
            state.random = number
        },
        setData(state,data){
            state.data = data
        }
    }
})

export default store